<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div class="left_col scroll-view" th:fragment="lefter">
    <div class="navbar nav_title" style="border: 0;">
        <a th:href="@{/main}" href="../main" class="site_title"><i class="fa fa-paw"></i> <span>客户关系管理系统</span></a>
    </div>

    <div class="clearfix"></div>

    <!-- menu profile quick info -->
    <div class="profile">
        <div class="profile_pic">
            <img th:src="@{/images/img2.jpg}" src="../static/images/img2.jpg" alt="..." class="img-circle profile_img">
        </div>
        <div class="profile_info">
            <span>欢迎您,</span>
            <h2 th:text="${session.loginUser.usrName }">用户名</h2>
        </div>
    </div>
    <!-- /menu profile quick info -->

    <br />

    <!-- sidebar menu -->
    <div id="sidebar-menu" class="main_menu_side hidden-print main_menu">
        <div class="menu_section">
            <h3>管理员</h3>
            <ul class="nav side-menu">
                <li><a><i class="fa fa-edit"></i> 营销管理 <span class="fa fa-chevron-down"></span></a>
                    <ul class="nav child_menu">
                        <li><a href="javascript:;">销售机会管理</a></li>
                        <li><a href="javascript:;">客户开发计划</a></li>
                    </ul>
                </li>
                <li><a><i class="fa fa-edit"></i> 客户管理 <span class="fa fa-chevron-down"></span></a>
                    <ul class="nav child_menu">
                        <li><a href="javascript:;" th:href="@{/api/customer/findByCustomerList}">客户信息管理</a></li>
                        <li><a href="javascript:;" th:href="@{/api/lost/findLost}">客户流失管理</a></li>
                    </ul>
                </li>
                <li><a><i class="fa fa-edit"></i> 服务管理 <span class="fa fa-chevron-down"></span></a>
                    <ul class="nav child_menu">
                        <li><a href="javascript:;">服务创建</a></li>
                        <li><a href="javascript:;">服务分配</a></li>
                        <li><a href="javascript:;">服务处理</a></li>
                        <li><a href="javascript:;">服务反馈</a></li>
                        <li><a href="javascript:;">服务归档</a></li>

                    </ul>
                </li>
                <li><a><i class="fa fa-edit"></i> 统计报表 <span class="fa fa-chevron-down"></span></a>
                    <ul class="nav child_menu">
                        <li><a href="javascript:;" th:href="@{/api/customer/findByCustomer}">客户贡献分析</a></li>
                        <li><a href="javascript:;">客户构成分析</a></li>
                        <li><a href="javascript:;">客户服务分析</a></li>
                        <li><a href="javascript:;">客户流失分析</a></li>
                    </ul>
                </li>
                <li><a><i class="fa fa-edit"></i> 基础数据 <span class="fa fa-chevron-down"></span></a>
                    <ul class="nav child_menu">
                        <li><a href="javascript:;">客户等级管理</a></li>
                        <li><a href="javascript:;">服务类型管理</a></li>
                        <li><a href="javascript:;">客户地区管理</a></li>
                        <li><a href="javascript:;">查询产品信息</a></li>
                        <li><a href="javascript:;">查询库存</a></li>
                    </ul>
                </li>
                <li><a><i class="fa fa-edit"></i> 权限管理 <span class="fa fa-chevron-down"></span></a>
                    <ul class="nav child_menu">
                        <li><a href="javascript:;">用户管理</a></li>
                        <li><a href="javascript:;">角色管理</a></li>
                    </ul>
                </li>
            </ul>
<!--            <ul class="nav side-menu">-->
<!--                <li th:if="${right1.rightType == 'Folder'}" th:each="right1:${session.user.role.rights}">-->
<!--                    <a>-->
<!--                        <i class="fa fa-home"></i>-->
<!--                        <span th:text="${right1.rightText}">一级菜单</span>-->
<!--                        <span class="fa fa-chevron-down"></span>-->
<!--                    </a>-->
<!--                    <ul class="nav child_menu">-->
<!--                        <li th:if="${right2.rightType == 'Document' && right2.rightParentCode == right1.rightCode}"-->
<!--                            th:each="right2:${session.user.role.rights}">-->
<!--                            <a th:href="@{${right2.rightUrl}}" href="javascript:;" th:text="${right2.rightText}">-->
<!--                                二级菜单-->
<!--                            </a>-->
<!--                        </li>-->
<!--                    </ul>-->
<!--                </li>-->
<!--            </ul>-->
<!--        </div>-->


    </div>
    <!-- /sidebar menu -->

    <!-- /menu footer buttons -->
    <div class="sidebar-footer hidden-small">
        <a data-toggle="tooltip" data-placement="top" title="Settings">
            <span class="glyphicon glyphicon-cog" aria-hidden="true"></span>
        </a>
        <a data-toggle="tooltip" data-placement="top" title="FullScreen">
            <span class="glyphicon glyphicon-fullscreen" aria-hidden="true"></span>
        </a>
        <a data-toggle="tooltip" data-placement="top" title="Lock">
            <span class="glyphicon glyphicon-eye-close" aria-hidden="true"></span>
        </a>
        <a data-toggle="tooltip" data-placement="top" title="Logout" th:href="@{/user/logOut}" href="/manager/logOut">
            <span class="glyphicon glyphicon-off" aria-hidden="true"></span>
        </a>
    </div>
    <!-- /menu footer buttons -->
</div>
</body>
</html>